package com.youpingou.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.youpingou.domain.Sku;
import com.youpingou.domain.Specification;
import com.youpingou.mapper.SkuMapper;
import com.youpingou.mapper.SpecificationMapper;
import com.youpingou.service.SkuService;
import com.youpingou.service.SpecificationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional
public class SpecificationServiceImpl extends ServiceImpl<SpecificationMapper, Specification> implements SpecificationService {

    @Autowired
    private SpecificationMapper specificationMapper;


    public List<Specification> findSpecificationByCat3id(Integer cat3id){
        List<Specification> list = specificationMapper.findSpecificationByCat3id(cat3id);
        return list;
    }
}